<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of HTMLBean
 *
 * @author jhonny
 */
class HTMLTag {
    private $header;
    private $body;
    public function __construct() {
        $this->header = new HeadTag();
        $this->body = new BodyTag();
    }
    public function setHeader( HeadTag $value) {
        $this->header = $value;
    }
    public function setBody($value) {
        $this->body = $value;
    }
    /**
     *
     * @return <HeadTag>
     */
    public function getHeader() {
        return $this->header;
    }
    public function getStrHeader() {
        $value = '';
        if($this->getHeader()!=null){
            $value = $this->getHeader()->toString();
        }
        return $value;
    }
    public function getBody() {
        return $this->body;
    }
    public function getStrBody() {
        $value = '';
        if($this->getBody()!=null){
            $value = $this->getBody()->toString();
        }
        return $value;
    }

}
?>
